// 引入刚刚通过class文件生成的.h文件
#include "HelloWorld.h"
#include <stdio.h>
#include <iostream>

using namespace std;
/*
 * Class:     HelloWorld
 * Method:    displayInfor
 * Signature: (Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_HelloWorld_displayInfor
(JNIEnv * env, jobject obj, jstring name) {
    cout<<"你好，"<<env->GetStringUTFChars(name, NULL)<<endl;
}